package com.baizhi.feign;

import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.Map;

/**
 * @author yystart
 * @create 2019-10-04 22:44
 */
@Service
public class OrderFeignHystrix implements OrderFeign{
    @Override
    public Map insert(Map dataMap) {
        Map map = new HashMap();
        map.put("isInsert",false);
        map.put("msg","添加订单失败，请稍候再试！");
        return map;
    }
}
